package com.ruoyi.system.service;

import com.ruoyi.system.domain.WarehouseShelfRatio;
import java.util.List;
import java.util.Map;

/**
 * 库房上架占比Service接口
 *
 * @author admin
 * @date 2025-08-23
 */
public interface WarehouseShelfRatioService {
    /**
     * 查询库房上架占比
     *
     * @param id 库房上架占比主键
     * @return 库房上架占比
     */
    public WarehouseShelfRatio selectWarehouseShelfRatioById(Long id);

    /**
     * 查询库房上架占比列表
     *
     * @param warehouseShelfRatio 库房上架占比
     * @return 库房上架占比集合
     */
    public List<WarehouseShelfRatio> selectWarehouseShelfRatioList(WarehouseShelfRatio warehouseShelfRatio);

    /**
     * 新增库房上架占比
     *
     * @param warehouseShelfRatio 库房上架占比
     * @return 结果
     */
    public int insertWarehouseShelfRatio(WarehouseShelfRatio warehouseShelfRatio);

    /**
     * 按名称查询库房上架占比列表（Map格式）
     *
     * @param warehouseShelfRatio 库房上架占比
     * @return 结果
     */
    public List<Map<String, Object>> selectListByName(WarehouseShelfRatio warehouseShelfRatio);

    /**
     * 修改库房上架占比
     *
     * @param warehouseShelfRatio 库房上架占比
     * @return 结果
     */
    public int updateWarehouseShelfRatio(WarehouseShelfRatio warehouseShelfRatio);

    /**
     * 删除库房上架占比
     *
     * @param id 库房上架占比主键
     * @return 结果
     */
    public int deleteWarehouseShelfRatioById(Long id);

    /**
     * 批量删除库房上架占比
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarehouseShelfRatioByIds(Long[] ids);
}